package com.ruoyi.common.vo.business.setting;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author Song
 * @date 2024/10/30 14:37
 * @description
 */
@Data
public class DeclarationVo {
    private Integer afterDay;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private List<String> accessDay;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private List<Date> accessTime;

    public DeclarationVo() {
        this.afterDay = 7;
        this.accessDay = new ArrayList<>();
    }
}
